<include file="../Public/header" />
<div class="main" >
	<div id="navigation"> &nbsp;当前位置 > 系统管理 > 广告管理 > 修改广告 </div>
	<div class="mainmenu"><a href="__URL__/adList"> < 返 回</a></div>
	<form action="__URL__/doEdit" method="post">
	<table id="mainform">
		<tr>
			<th width="80">参数说明</th><th>参数值</th>
		</tr>
		<tr>
			<td>广告标识: </td><td>{$ad.code}<input type="hidden" name="id" value="{$ad.id}" /></td>
		</tr>
		<tr>
			<td>广告链接: </td><td><input type="text" id="url" name="url"   value="{$ad.url}" /></td>
		</tr>
		<tr>
			<td>广告说明: </td><td><input type="text" id="info" name="info" value="{$ad.info}" /></td>
		</tr>
		<tr>
			<td>广告类型: </td>
			<td>
				<div class="radio">
					<input type="radio" id="radio1" name="status" value="0" <?php echo $ad['status']?'':'checked="checked"'; ?> /><label for="radio1">默认</label>&nbsp;
					<input type="radio" id="radio2" name="status" value="1" <?php echo $ad['status']?'checked="checked"':''; ?>  /><label for="radio2">临时</label>
					默认广告不能删除，临时广告可以删除！
				</div>
				
			</td>
		</tr>
  </table>
  <table class="mainform">
  		<tr>
  			<td width="80" class="sj2em">广告内容:</td><td class="sj2em"><div>{:W('Edit',array('id'=>'content','content'=>$ad['content']))}</div></td>
  		</tr>
  	</table>
  <div class="mainmenu"><input type="submit" value="确 定"/>&nbsp;&nbsp;<input type="reset" value="重 置"/></div>
  </form>
</div>
 